package structuralModel.adapterMode.extendModel;

/***
 * 适配器模式: 继承,单元测试
 */
public class ClientAdapterModeExtends {
    public static void main(String[] args) {
        Computer computer = new Computer();
        NetToUsbImpl netToUsb = new NetToUsbImpl();
        Adptee adptee = new Adptee();
        computer.net(netToUsb);
    }
}
